]> dgit.raspbian.org Git - gnome-shell.git/commit
grabHelper: consume the press/motion/release sequence if a press dismisses the grab
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 22 Jul 2014 10:50:54 +0000 (12:50 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 31 Jul 2014 08:55:11 +0000 (10:55 +0200)
commitbbfa616f275cdd41c052682f79f8e997f160c99c
treec7504ba0b362f2ae99414df6ab05843f68ad4567
parent7e31015ba2be478aaa2ff0dbc334a303b96d90d1
grabHelper: consume the press/motion/release sequence if a press dismisses the grab

The grab would previously just consume the button release, while propagating
motion events, possibly down to clients in wayland. This would produce
inconsistent streams there.

On pointer events, the inconsistency would just be having clients receiving
events with the button 1 set in the mask, with no implicit grab. When touch
events are handled, this would be more hindering as the client would receive
touch_motion events with no prior touch_down nor later touch_up, something
never supposed to happen.

https://bugzilla.gnome.org/show_bug.cgi?id=733633
js/ui/grabHelper.js